/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author Kanet
 */
public class DanhMucPoJo {
    
    // <editor-fold defaultstate="collapsed" desc="1. Thuộc tính">
    private int idDanhMuc;
    private String tenDanhMuc;
    private DichVuPoJo dichVu;
// </editor-fold>
      public DanhMucPoJo()
    {
        this.idDanhMuc= 0;
        this.tenDanhMuc="";
        this.dichVu = new DichVuPoJo();
    }
    public DanhMucPoJo(int id)
    {
        this.idDanhMuc = id;
    }
  
    // <editor-fold defaultstate="collapsed" desc="3. Get/Set">
    public int getIdDanhMuc()
    {
        return this.idDanhMuc;
    }
    public void setIdDanhMuc(int id)
    {
        this.idDanhMuc = id;
    }
    public String getTenDanhMuc()
    {
        return this.tenDanhMuc;
    }
    public void setTenDanhMuc(String tenDM)
    {
        this.tenDanhMuc  = tenDM;
    }
    public DichVuPoJo getDichVu()
    {
        return this.dichVu;
    }
    public void setDichVu(DichVuPoJo dichvu)
    {
        this.dichVu= dichvu;
    }
// </editor-fold>
    
  
}
